package com.study.selection.dao;

import com.study.selection.model.College;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CollegeDao {

    List<College> findAll();

    List<College> findByKey(String key);

    int addCollege(College college);

    College getById(int collegeId);

    int updateCollege(College college);
    // 逻辑删除
    int deleteCollege(int collegeId);

}
